package nl.biz_e.wiki.client;

import nl.biz_e.gwt.baselib.ui.client.menu.IMenuItem;
import nl.biz_e.gwt.baselib.ui.client.menu.MenuItem;
import nl.biz_e.gwt.baselib.ui.client.menu.IMenuItem.MenuItemClickedListener;
import nl.biz_e.gwtappengine.lib.client.AbstractApplication;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class BizeWiki extends AbstractApplication implements
		MenuItemClickedListener {
	private final MenuItem mnuTest;
	
	/**
	 * Constructs a new BizeWiki instance
	 */
	public BizeWiki() {
		super("Biz-e Wiki");
		setUseGoogleLogin(true, "/BizeWiki.html");
		this.setShowPreLoginPanel(false);
		// setUseGoogleLogin(false);
		mnuTest = new MenuItem("Test", this, false);
		this.addMenuItem(mnuTest);
	}
	
	/**
	 * {@inheritDoc}
	 */
	@Override
	public void menuItemClicked(IMenuItem item) {
		showMessage("Test");
	}
}
